package com.titan.demo.camel.sample.其它样例.调用process.camel.processor;

import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.Processor;

public class DemoProcessor implements Processor{

	@Override
	public void process(Exchange exchange) throws Exception {
		Message in = exchange.getIn();
		in.setBody(in.getBody() + " world !");
	}

}
